package com.example.aidl;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;

public class JiniService extends Service {

	public class JiniServiceImple extends IJiniService.Stub {

		@Override
		public String getValue() throws RemoteException {
			Log.i("JINISU", "JiniService!");
			return "JINI test";
		}
	}

	@Override
	public IBinder onBind(Intent intent) {
		// TODO Auto-generated method stub
		return new JiniServiceImple();
	}

}
